home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
009a
/
snpd0493.zip
/
CTRLPRNT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-05
|
441b
|
26 lines
.I 16 1
if (!strcmp((line - 2), "\x0d\x0a") || !strcmp((line - 2), "\x0a\x0d"))
.D 17 1
.I 19 21
#ifdef TEST
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
void main(void)
{
char *p, *test = "This is a test";
for (p = strupr(test); *p; ++p)
{
if (isalpha(*p))
*p = *p - 64;
}
ctrl_print(test);
}
#endif /* TEST */